package com.ruoyi.bearing.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 数据集工况对象 bearing_condition
 */
public class BearingCondition extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 工况id
     */
    private String cid;

    /**
     * 数据集id
     */
    @Excel(name = "数据集id")
    private String datasetId;

    /**
     * 轴承数量
     */
    @Excel(name = "轴承数量")
    private String bearingNumber;

    /**
     * 采样频率
     */
    @Excel(name = "采样频率")
    private String samplingFrequency;

    /**
     * 通道数量
     */
    @Excel(name = "通道数量")
    private String ch;

    /**
     * 压力
     */
    @Excel(name = "压力")
    private String radialForce;

    /**
     * 转速
     */
    @Excel(name = "转速")
    private String rpm;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 数据集信息
     */
    private List<BearingDataset> bearingDatasetList;

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCid() {
        return cid;
    }

    public void setDatasetId(String datasetId) {
        this.datasetId = datasetId;
    }

    public String getDatasetId() {
        return datasetId;
    }

    public void setBearingNumber(String bearingNumber) {
        this.bearingNumber = bearingNumber;
    }

    public String getBearingNumber() {
        return bearingNumber;
    }

    public void setSamplingFrequency(String samplingFrequency) {
        this.samplingFrequency = samplingFrequency;
    }

    public String getSamplingFrequency() {
        return samplingFrequency;
    }

    public void setCh(String ch) {
        this.ch = ch;
    }

    public String getCh() {
        return ch;
    }

    public void setRadialForce(String radialForce) {
        this.radialForce = radialForce;
    }

    public String getRadialForce() {
        return radialForce;
    }

    public void setRpm(String rpm) {
        this.rpm = rpm;
    }

    public String getRpm() {
        return rpm;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public List<BearingDataset> getBearingDatasetList() {
        return bearingDatasetList;
    }

    public void setBearingDatasetList(List<BearingDataset> bearingDatasetList) {
        this.bearingDatasetList = bearingDatasetList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("cid", getCid())
                .append("datasetId", getDatasetId())
                .append("bearingNumber", getBearingNumber())
                .append("samplingFrequency", getSamplingFrequency())
                .append("ch", getCh())
                .append("radialForce", getRadialForce())
                .append("rpm", getRpm())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("bearingDatasetList", getBearingDatasetList())
                .toString();
    }
}
